package vip.liux.front.infrastructure.annotations;

import org.springframework.context.annotation.AdviceMode;
import org.springframework.context.annotation.Import;
import org.springframework.core.Ordered;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(AuditedConfigurationSelector.class)
public @interface EnableAudited {
    Class<? extends Annotation> annotation() default Annotation.class;

    boolean proxyTargetClass() default false;


    AdviceMode mode() default AdviceMode.PROXY;


    int order() default Ordered.LOWEST_PRECEDENCE;
}
